import request from '@/router/axios';
import {baseUrl} from "@/config/env";

/**
 * 获取首页信息
 * @param account
 * @return {AxiosPromise}
 */
export const getData = (account) => {
  return request({
    url: baseUrl + "/index/all-info",
    method: 'get',
    params: {
      account
    }
  })
}
